/**
 * ATuanZhang
 */
package org.huanglei.android.inject.provider;

import android.app.Activity;
import android.content.Context;

import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.Singleton;

/**
 * @author huanglei
 * @date 2011-3-25 @
 */
@Singleton
public class ActivityProvider implements Provider<Activity> {

	@Inject
	protected Provider<Context> contextProvider = null;

	@Override
	public Activity get() {
		return (Activity) contextProvider.get();
	}

}
